﻿using System;

namespace nMongo
{
    /// <summary>
    /// Marks a class to enable his persistency control.
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = false, AllowMultiple = true)]
    public sealed class MongoEnablePersistencyControlAttribute : Attribute
    {
        public MongoEnablePersistencyControlAttribute()
        {
        }

        public bool ForceDisable { get; set; }
    }
}
